import request from '@/utils/request'

export function gettoollist (params) {
  return request({
    url: '/admin/get_tool_list',
    method: 'get',
    params: params
  })
}
export function gettooloverview (params) {
  return request({
    url: '/admin/update_overview',
    method: 'get',
    params: params
  })
}
export function getloginfo (params) {
  return request({
    url: '/admin/get_log_info',
    method: 'get',
    params: params
  })
}
export function doaddtooldata (params) {
  return request({
    url: '/admin/add_tool_data',
    method: 'post',
    params: params
  })
}
export function doupdatetooldata (params) {
  return request({
    url: '/admin/update_tool_data',
    method: 'post',
    params: params
  })
}
